home *** CD-ROM | disk | FTP | other *** search
/ Stone Design / Stone Design.iso / Stone_Friends / Wave / WavesWorld / Source / IBPalettes / WW3DKit / Protocol_WWSample.h < prev    next >
Encoding:
Text File  |  1995-03-22  |  710 b   |  28 lines

  1. // copyright 1993 Michael B. Johnson; some portions copyright 1994, MIT
  2. // see COPYRIGHT for reuse legalities
  3. //
  4.  
  5. @protocol WWSample
  6.  
  7. // need to get the weight info from the run-time system by giving it
  8. // the name of the generator and getting back the weight...
  9. - setData:newData timestamp:(float)floatTime generator:(const char *)genName weight:(float)floatWeight;
  10. - (float)timestamp;
  11. - setFreeData:(BOOL)flag;
  12. - (BOOL)freeData;
  13. - sample;
  14. - data;
  15. - setWeight:(float)newWeight;
  16. - (float)weight;
  17. - (int)generatorCount;
  18. - (const char *)generatorName;
  19.  
  20. - writeEve:(NXStream *)stream atTabLevel:(int)tab;
  21.  
  22. // boy, is this retarded or what?
  23. - class;
  24. - free;
  25. - (BOOL) conformsTo: (Protocol *)aProtocolObject;
  26.  
  27. @end
  28.